package com.sf.dlb.jpa.model;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 用户邀请表 Entity
 *
 * Created by jing.tan on 2018/12/10.
 */
@Entity
@Table(name = "user_invitation")
public class UserInvitationInfo extends BaseEntity {
	/*
	  `user_id` varchar(64) DEFAULT NULL COMMENT '用户id',
	  `invitation_user_id` varchar(64) DEFAULT NULL COMMENT '被邀请用户的id',
	  `qr_code` varchar(64) DEFAULT NULL COMMENT '二维码(邀请码)',
	  `state` char(1) DEFAULT '0' COMMENT '邀请状态(0:已注册，1:已下载app，2:已登录)',
	  `the_invitation_user_get_dlb` decimal(10,3) DEFAULT NULL COMMENT '邀请用户奖励的dlb',
	  `be_invitation_user_get_dlb` decimal(10,3) DEFAULT NULL COMMENT '被邀请用户奖励的dlb',
	 */
	
	private static final long serialVersionUID = 1L;
	private String userId;				// 邀请用户id
	private String invitationUserId;	// 被邀请用户的id
	private String qrCode;     			// 二维码(邀请码)
	private String state;     			// 邀请状态(0:已注册，1:已下载app，2:已登录)
	private Double userGetDlb;			// 邀请用户奖励的dlb
	private Double invitationUserGetDlb;// 被邀请用户奖励的dlb

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getInvitationUserId() {
		return invitationUserId;
	}

	public void setInvitationUserId(String invitationUserId) {
		this.invitationUserId = invitationUserId;
	}

	public String getQrCode() {
		return qrCode;
	}

	public void setQrCode(String qrCode) {
		this.qrCode = qrCode;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public Double getUserGetDlb() {
		return userGetDlb;
	}

	public void setUserGetDlb(Double userGetDlb) {
		this.userGetDlb = userGetDlb;
	}

	public Double getInvitationUserGetDlb() {
		return invitationUserGetDlb;
	}

	public void setInvitationUserGetDlb(Double invitationUserGetDlb) {
		this.invitationUserGetDlb = invitationUserGetDlb;
	}
}